package org.springagg.webapp.service;

import java.util.List;
import java.util.Set;

import org.springagg.webapp.bean.User;

public interface UserService {
	int add(User user);

	int update(User user);

	int delete(int uid);

	User get(int uid);

	User find(String username);

	List<User> all();

	Set<String> getRoles(String username);

	Set<String> getPermissions(String username);
}
